import express from 'express';
import sleepDataController from '../controllers/sleepData.js';

const router = express.Router();

router.get('/:userId/latest', sleepDataController.getLatestSleepData);
router.get('/:userId/history', sleepDataController.getSleepHistory);
router.get('/:userId/statistics', sleepDataController.getSleepStatistics);

export default router;